import request from '../request'

export default {

    
    /**
     * 贷款详情
     */
    loan_details:(para, suss, err) => request.request('loan/loan_details',para,()=>{if(suss!==undefined){return e=>{suss(e)}}else{return null}},()=>{if(err!==undefined){return e=>{err(e)}}else{return null}}),
    
    /**
     * 信用卡详情
     */
    credit_details:(para, suss, err) => request.request('credit/credit_details',para,()=>{if(suss!==undefined){return e=>{suss(e)}}else{return null}},()=>{if(err!==undefined){return e=>{err(e)}}else{return null}}),
    
    /**
     * 信用报告
     */
    user_info:(para, suss, err) => request.request('asset/user_info',para,()=>{if(suss!==undefined){return e=>{suss(e)}}else{return null}},()=>{if(err!==undefined){return e=>{err(e)}}else{return null}}),
    
    
}